package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户电池租赁-先享服务套餐
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_rent_combo_advance")
@ApiModel(value = "XhRentComboAdvance对象", description = "用户电池租赁-先享服务套餐")
public class XhRentComboAdvance implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("服务名称")
    private String name;

    @ApiModelProperty("关联套餐ID")
    private Integer comboId;

    @ApiModelProperty("先享渠道 1-花呗冻结 2-信用代扣")
    private Integer channel;

    @ApiModelProperty("冻结总金额")
    private BigDecimal frozenAmount;

    @ApiModelProperty("冻结押金")
    private BigDecimal frozenDeposit;

    @ApiModelProperty("冻结租金")
    private BigDecimal frozenRent;

    @ApiModelProperty("最长周期数")
    private Integer maxCycles;

    @ApiModelProperty("排序号")
    private Integer sort;

    @ApiModelProperty("可用标识 1-可用 0-禁用")
    private Integer isEnabled;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
